/*
 * @Author: xiaohao
 * @Date: 2025-11-04 17:04:25
 * @LastEditors: xiaohao
 * @LastEditTime: 2025-11-04 17:06:35
 * @FilePath: /Project/ConcurrentMemoryPool/include/ConcurrentMemoryPool/MemoryPool.h
 * @Description:
 */
#pragma once

/**
 * @file MemoryPool.h
 * @brief 并发内存池主接口
 */

#pragma once
#include "ConcurrentAlloc.h"

class MemoryPool
{
public:
    static void *Allocate(size_t size)
    {
        return ConcurrentAlloc(size);
    }

    static void Deallocate(void *ptr, size_t size)
    {
        ConcurrentFree(ptr, size);
    }
};